package com.senyin.service;


import com.fasterxml.jackson.databind.ser.Serializers;
import com.senyin.common.BaseResponse;
import com.senyin.entity.Dept;

import javax.servlet.http.HttpServletRequest;
import java.sql.SQLException;
import java.util.List;

public interface DeptService {
    BaseResponse<List<Dept>> showAll() throws SQLException;

    BaseResponse addDept(Dept dept, HttpServletRequest request) throws SQLException;

    BaseResponse modDept(Dept dept, HttpServletRequest request) throws SQLException;
    BaseResponse delDeptByUUID(String UUID,HttpServletRequest request) throws SQLException;
}
